package com.lyk.service.impl;

import java.util.List;
import java.util.Map;

import com.common.entity.A_customer;
import com.common.entity.PageBean;
import com.lyk.dao.A_customerDao;
import com.lyk.dao.impl.A_customerDaoImpl;
import com.lyk.service.A_customerService;

public class A_customerServiceImpl implements A_customerService {
	private A_customerDao customerDao = new A_customerDaoImpl();
	@Override
	public List<A_customer> findByCondition(Map<String, Object> mp) {
		return customerDao.findByCondition(mp);
	}

	@Override
	public int delA_customer(Integer n) {
		return customerDao.delA_customer(n);
	}

	@Override
	public A_customer findById(Integer n) {
		return customerDao.findById(n);
	}

	@Override
	public PageBean<A_customer> findPageByCondition(int pageIndex,
			int pageSize, Map<String, Object> map) {
		return customerDao.findPageByCondition(pageIndex, pageSize, map);
	}

}
